﻿DROP TABLE IF EXISTS `open_color`;
CREATE TABLE `open_color` (
  `color_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `color_code` varchar(20) NOT NULL DEFAULT '',
  `color_name` varchar(50) NOT NULL DEFAULT '',
  `color_note` varchar(255) NOT NULL DEFAULT '',
  `img_file`   varchar(255) NOT NULL default '',
  `img_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`color_id`),
  UNIQUE KEY `color_code` (`color_code`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;